package com.songtech.server.frame.dao.mapper;

import com.songtech.server.frame.dao.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import com.songtech.server.entry.PositionProtocal;
import org.springframework.stereotype.Repository;

/**
 * Create By YINN on 2018/4/10 18:22
 * Description :
 */

public interface PositionServerMapper extends BaseMapper {

    @Insert("INSERT INTO sys_pos_trail (imei, longitude_flag,longitude,latitude_flag,latitude,speed,direction,manufacturer,record_time,location_type,battery_info) VALUES (#{imei}, #{longitudeFlag},#{longitude},#{latitudeFlag},#{latitude},#{speed},#{direction},#{manufacturer},#{recordTime},#{locationType},#{dumpEnergy})")
    int add(PositionProtocal entry);


}
